﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SF.WebClient.Controllers
{
    public class PanelController : BasicController
    {
        public void ViewPanelCssSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/panel/jeasyui.extensions.panel.css");
        }

        #region Iniframe 嵌套iframe

        public ViewResult IniframeDemo()
        {
            return View();
        }

        public PartialViewResult IniframeSource()
        {
            return PartialView();
        }

        public void ViewIniframeSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/panel/jeasyui.extensions.panel.iframe.js");
        }

        public PartialViewResult IniframeExplain()
        {
            return PartialView();
        }

        #endregion

        #region Position 检查panel位置（在什么容器中）

        public ViewResult PositionDemo()
        {
            return View();
        }

        public PartialViewResult PositionSource()
        {
            return PartialView();
        }

        public void ViewPositionSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/panel/jeasyui.extensions.panel.position.js");
        }

        public PartialViewResult PositionExplain()
        {
            return PartialView();
        }

        #endregion

        #region setTitle 设置标题（支持Tab中的panel）

        public ViewResult SetTitleDemo()
        {
            return View();
        }

        public PartialViewResult SetTitleSource()
        {
            return PartialView();
        }

        public void ViewSetTitleSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/panel/jeasyui.extensions.panel.setTitle.js");
        }

        public PartialViewResult SetTitleExplain()
        {
            return PartialView();
        }

        #endregion

        #region inlocale 是否无法移出父级对象边界

        public ViewResult InlocaleDemo()
        {
            return View();
        }

        public PartialViewResult InlocaleSource()
        {
            return PartialView();
        }

        public void ViewInlocaleSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/panel/jeasyui.extensions.panel.inlocale.js");
        }

        public PartialViewResult InlocaleExplain()
        {
            return PartialView();
        }

        #endregion
	}
}